//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using System;
using System.ComponentModel;
using System.Web;
using System.Web.UI;
using CommunityServer.Components;
using CommunityServer.Controls;

namespace CommunityServer.Galleries.Controls
{
    /// <summary>
    /// Summary description for WeblogTemplatedForumWebControl.
    /// </summary>
    public abstract class GalleryBaseTemplatedWebControl : TemplatedWebControl
    {
        public GalleryBaseTemplatedWebControl() : base()
        {
			  _currentUser = Users.GetUser(true);
        }


        private User _currentUser = null;

        /// <summary>
        /// The Current User Accessing the blog/data
        /// </summary>
        protected User CurrentUser
        {
            get { return _currentUser; }
        } 



        /// <summary>
        /// Set Blogs as the directory for all Blog Controls
        /// </summary>
        protected override String ExternalSkinFileName
        {
            get { return CreateExternalSkinFileName("Galleries"); }
        }

		/// <summary>
		/// No Being Span
		/// </summary>
		/// <param name="writer"></param>
		public override void RenderBeginTag(System.Web.UI.HtmlTextWriter writer)
		{
			//we don't need a span tag
		}

		/// <summary>
		/// No End Span
		/// </summary>
		/// <param name="writer"></param>
		public override void RenderEndTag(System.Web.UI.HtmlTextWriter writer)
		{
			//we don't need a span tag
		}
	
	
	
	
	
	
	
	}
}
